package org.smog.core.config.web.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.smog.core.dto.base.BaseDto;

/**
 * 接口返回值基类
 * @Description: Created by IntelliJ IDEA.
 * @project_name: smogTemp
 * @time: 2020-05-15 15:10
 * @email: 17685306043@163.com
 * @author: huangZhongYao
 */
@Data
@EqualsAndHashCode(callSuper = true)
public abstract class AbstractResponse extends BaseDto {
    private static final long serialVersionUID = 6059672485298646725L;

    @ApiModelProperty("响应码")
    Integer code;

    @ApiModelProperty("响应信息")
    String msg;

    @ApiModelProperty("请求接口")
    String path;

    @ApiModelProperty("处理结果")
    Boolean success;
}
